<template>
	<view>
	  <custom-waterfalls-flow :value="data.list">
	        <template v-slot:default="item">
	            <view class="item">
	                <view class="title">{{item.title}}</view>
	                <view class="desc">{{item.desc}}</view>
	            </view>
	        </template>
	    </custom-waterfalls-flow>
			<uni-fab  @fabClick="fabClick" />
	</view>		
</template>

<script>
   export default {
        data() {
            return {
				data:{
                    list: [
                        { image: 'https://via.placeholder.com/200x500.png/ff0000', title: '我是标题1', desc: '描述描述描述描述描述描述描述描述1' }, 
                        { image: 'https://via.placeholder.com/200x200.png/2878ff', title: '我是标题2', desc: '描述描述描述描述描述描述描述描述2' }
                    ]
                }
            }
        },
        methods: {
			fabClick() {
						uni.navigateTo({
							url:"/pages/index/post/post_publish"
						})
					}
        }
    }
</script>

<style>
</style>